package com.imaker.frame.utils

import android.content.Context
import com.meituan.android.walle.WalleChannelReader

/**
 * @author ziheng
 * @Description:
 * @date 2023/2/1 14:48
 */
object ChannelUtils {
    //key为渠道名的key，对应友盟的 UMENG_CHANNEL
    fun getChannel(context: Context): String {
        val channel = WalleChannelReader.getChannel(context)
        if(channel != null){
            return channel
        }
        return "debug"
    }
}